<?php

/**
 * Database layer class
 * 
 * @package DeadTouch AAC
 * @version 0.0.1
 * @author Kofel <kofels@gmail.com>
 * @copyright 2008 (C) by Kofel
 * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public License, Version 3
 * @todo 
 */
 
class databaseLayer
{
	public $pdo;
	
	public function load()
	{
		if( count( file( 'config.php' ) ) > 6 )
		{
			//Real DB configuration :D
		}
	}
	
	public function unload()
	{
		//if( $this->pdo->errorInfo() )
		//{
			//throw new KernelException( $this->pdo->errorInfo() );
		//}
	}
	
	public function query( $str )
	{
		return $this->pdo->query( $str );
	}
}
?>